import logging
def log_set():
    logging.basicConfig(filename="weidudiansanglog.txt",filemode="a+",level=logging.DEBUG,format="%(message)s--%(funcName)s--%(filename)s")